/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.OpenClosedPrincipleCompliance.Impl;

import za.ac.cput.OpenClosedPrincipleCompliance.Account;



/**
 *
 * @author Leo
 */
public class AccountType implements Account {

    private double balance;

     public AccountType() {
         
     }
   
    
    @Override
    public void deposit(double amnt) {
        balance = balance +amnt;
    }

    @Override
    public double getBalance() {
        return balance;
    }
    
    
}
